home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
wwais103
/
newsrc.frm
< prev
next >
Wrap
Text File
|
1995-05-08
|
4KB
|
148 lines
VERSION 2.00
Begin Form new_src_form
BackColor = &H00808080&
Caption = "Add/Change Source"
ClientHeight = 2760
ClientLeft = 1515
ClientTop = 3675
ClientWidth = 7380
Height = 3165
Left = 1455
LinkMode = 1 'Source
LinkTopic = "Form1"
ScaleHeight = 2760
ScaleWidth = 7380
Top = 3330
Width = 7500
Begin CommandButton cancel
Caption = "&Cancel"
Height = 375
Left = 3720
TabIndex = 9
Top = 2160
Width = 1095
End
Begin CommandButton ok
Caption = "&OK"
Height = 375
Left = 2400
TabIndex = 8
Top = 2160
Width = 1095
End
Begin TextBox s_add_database
BackColor = &H0080FF80&
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 1200
TabIndex = 7
Top = 1560
Width = 6015
End
Begin TextBox s_add_server
BackColor = &H0080FF80&
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 1200
TabIndex = 6
Top = 1080
Width = 6015
End
Begin TextBox s_add_port
BackColor = &H0080FF80&
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 1200
TabIndex = 5
Top = 600
Width = 6015
End
Begin TextBox s_add_title
BackColor = &H0080FF80&
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 1200
TabIndex = 4
Top = 120
Width = 6015
End
Begin Label Label4
BackColor = &H00808080&
Caption = "Database:"
Height = 255
Left = 120
TabIndex = 3
Top = 1560
Width = 975
End
Begin Label Label3
BackColor = &H00808080&
Caption = "Server:"
Height = 255
Left = 360
TabIndex = 2
Top = 1200
Width = 615
End
Begin Label Label2
BackColor = &H00808080&
Caption = "Port:"
Height = 255
Left = 480
TabIndex = 1
Top = 720
Width = 495
End
Begin Label Label1
BackColor = &H00808080&
Caption = "Title:"
Height = 255
Left = 480
TabIndex = 0
Top = 240
Width = 495
End
End
Sub cancel_Click ()
s_change_accepted = False
new_src_form.Hide
End Sub
Sub ok_Click ()
src = sources_form.s_source_list.listcount
s_port(src) = Val(s_add_port.text)
s_service(src) = s_add_server.text
s_database(src) = s_add_database.text
sources_form.s_source_list.AddItem s_add_title.text
s_change_accepted = True
new_src_form.Hide
End Sub